package com.pur.zsms.unit.dao;

import java.util.List;

import com.pur.zsms.common.exception.GenericException;
import com.pur.zsms.common.support.PageController;
import com.pur.zsms.common.support.PaginationSupport;
import com.pur.zsms.foodmanage.food.po.FoodMaterPo;
import com.pur.zsms.foodmanage.food.po.FoodPo;
import com.pur.zsms.foodmanage.food.vo.FoodMaterVo;
import com.pur.zsms.foodmanage.food.vo.FoodVo;
import com.pur.zsms.matermanage.mater.po.MaterPo;
import com.pur.zsms.pmsnmanage.menu.po.MenuPo;
import com.pur.zsms.pmsnmanage.user.po.UnitMenuPo;
import com.pur.zsms.pmsnmanage.user.po.UnitPo;
import com.pur.zsms.pmsnmanage.user.po.UserPo;
import com.pur.zsms.pmsnmanage.user.po.UserRolePo;
import com.pur.zsms.pmsnmanage.user.vo.UserVo;
import com.pur.zsms.supplier.po.SupplierPo;
import com.pur.zsms.unit.vo.UnitCommentVo;
import com.pur.zsms.unit.vo.UnitMenuVo;
import com.pur.zsms.unit.vo.UnitVo;

public interface IUnitDao {

	public PaginationSupport listUnitComment(PageController pageController, UnitCommentVo unitCommentVo)
	        throws GenericException;

	public PaginationSupport listUnit(PageController pageController, UnitVo unitVo) throws GenericException;

	public PaginationSupport listUnitMenu(PageController pageController, UnitMenuVo unitMenuVo)
	        throws GenericException;

	public List<UnitPo> getAllUnitPo() throws GenericException;

	public String getUnitPoByUnitId(int unitId) throws GenericException;

	public int getUnitIdByUnitCode(String unitCode) throws GenericException;

	public List<UnitMenuPo> getUnitMenuPo(UnitMenuVo c) throws GenericException;

	public List<UnitMenuPo> getUnitMenuPoByVo(UnitMenuVo c) throws GenericException;

	public void addUnitMenuPo(UnitMenuPo c) throws GenericException;
}
